#ifndef PROJECTSFILEMASKSDLG_H
#define PROJECTSFILEMASKSDLG_H

#include "scrollingdialog.h"
#include "filegroupsandmasks.h"

class ProjectsFileMasksDlg : public wxScrollingDialog {
  public:
    ProjectsFileMasksDlg( wxWindow* parent, FilesGroupsAndMasks* fgam );
    virtual ~ProjectsFileMasksDlg();
    void OnUpdateUI( wxUpdateUIEvent& event );
    void OnAdd( wxCommandEvent& event );
    void OnEdit( wxCommandEvent& event );
    void OnDelete( wxCommandEvent& event );
    void OnSetDefault( wxCommandEvent& event );
    void OnListChanged( wxCommandEvent& event );
  protected:
  private:
    void RebuildList();
    void ListChange();
    virtual void EndModal( int retCode );
    FilesGroupsAndMasks  m_FileGroupsAndMasksCopy;
    FilesGroupsAndMasks* m_pFileGroupsAndMasks;
    int m_LastListSelection;
    bool xml_File_lock;
    DECLARE_EVENT_TABLE();
};

#endif
